<?php

declare(strict_types=1);

namespace App\Fastapp\Model;

use Mine\MineModel;

/**
 * @property int $id 主键
 * @property int $user_id 用户id
 * @property string $ip ip
 * @property string $region region
 * @property string $agent agent
 * @property \Carbon\Carbon $created_at 创建时间
 * @property \Carbon\Carbon $updated_at 更新时间
 */
class AccountLoginLog extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'account_login_log';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'user_id', 'ip', 'region', 'agent', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'user_id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
